Computing Number of Bits to be processed using Shift and Log in Arithmetic Coding
نویسندگان
چکیده
Arithmetic coding is a very efficient and most popular entropy coding technique. Arithmetic coding method is based on the fact that the cumulative probability of a symbol sequence corresponds to a unique subinterval of the initial interval [0, 1). In this method, when encoding a symbol, it first computes new interval [low, high) based on cumulative probability segment of the symbol. Thereafter it iterates in a loop to output code bits till the interval becomes 2b-2 wide, where b is number of bits used to store range of an interval. In conventional implementation of arithmetic coding algorithm, in single loop iteration, only one bit is processed at a time. When most significant bit (msb) of low and high of a subinterval matches, it writes this msb in coded message and doubles the interval by extracting msb. When underflow occurs, it extracts second msb to expand an interval. Processing such single bit and expanding an interval is also called renormalization in a loop. In this paper, an upgradation of this conventional arithmetic coding algorithm is proposed, wherein more than one bit is processed at a time instead of just single bit in single iteration. This proposed multi-bit processing arithmetic coding algorithm is implemented here to reduce the iterations needed in renormalizing an interval. It is observed that processing multiple output bits at a time leads to big improvement in execution time. To determine the number of maximum possible matching most significant bits to output, two alternatives are used here; (i) Using shift operation in a loop (ii) Using log function. It is found
منابع مشابه
Design of an Efficient Reversible Logic Based Bidirectional Barrel Shifter
Embedded digital signal processors and general purpose processors will use barrel shifters to manipulate data. This paper will present the design of the barrel shifter that performs logical shift right, arithmetic shift right, rotate right, logical shift left, arithmetic shift left, and rotate left operations. The main objective of the upcoming designs is to increase the performance without pro...
متن کاملSpeeding up Arithmetic Coding using Greedy Re-normalization
A typical adaptive arithmetic coder consists of three steps: range calculation, renormalization, and probability model updating. A method, called greedy re-normalization, is given in this paper that significantly reduces the computational complexity of the renormalization step of arithmetic coding. This is achieved by reducing both the number of re-normalizations required to encode a sequence a...
متن کاملENTROPY OF GEODESIC FLOWS ON SUBSPACES OF HECKE SURFACE WITH ARITHMETIC CODE
There are dierent ways to code the geodesic flows on surfaces with negative curvature. Such code spaces give a useful tool to verify the dynamical properties of geodesic flows. Here we consider special subspaces of geodesic flows on Hecke surface whose arithmetic codings varies on a set with innite alphabet. Then we will compare the topological complexity of them by computing their topological ...
متن کاملDesign Methodology of Bidirectional Barrel Shifter Based on Reversible Logic
Data shifting is required in many key computer operations from address decoding to computer arithmetic. Full barrel shifters are often on the critical path, which has led most research to be directed toward speed optimizations. With the advent of quantum computer and reversible logic, design and implementation of all devices in this logic has received more attention. Rotating and data shifting ...
متن کاملArithmetic Coding
• Arithmetic Coding is universal • Arithmetic coding is suitable for small alphabet (binary sources) with highly skewed probabilities. • Huffman cannot allocate fractional bits to symbols: , but the algorithm will assign 1 bit. Huffman needs at least one bit per symbol. If, however, the alphabet is large and probabilities are not skewed, Huffman rate is pretty close to entropy (H). , 01 . 0 , 9...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013